package com.arsn.myf.common.exception;

import org.springframework.web.bind.annotation.RestControllerAdvice;

/**
 * 自定义异常
 * @author myf
 * @since 2022-08-04
 */
public class CustomException extends RuntimeException {

    /**
     * 构造方法
     */
    public CustomException(){
    }

    public CustomException(String message){
        super(message);
    }

    public CustomException(String message, Throwable cause) {
        super(message, cause);
    }

    public CustomException(Throwable cause) {
        super(cause);
    }

    public CustomException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}